module.exports = app =>{
    const {router,controller} = app
    router.get("/",controller.home.index)
    router.get("/api/movie/:m",controller.movie.list.index)
    router.get("/api/movieDetail",controller.movie.detail.index)
    router.get("/api/movieSearch",controller.movie.search.index)
    router.post("/api/movieCollect",controller.movie.collect.index)
}